package com.tangruitao.bean;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class Order {

  private Integer orderId;
  private long orderNum;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date orderTime;

  private String orderNeed;

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date tauchingTime;
  private String img;
  private double salary;
  private String remark;
  private Integer uid;
  private Users users=new Users();
  private List<Detail> details;
  public Integer getOrderId() {
    return orderId;
  }

  public void setOrderId(Integer orderId) {
    this.orderId = orderId;
  }


  public long getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(long orderNum) {
    this.orderNum = orderNum;
  }


  public Date getOrderTime() {
    return orderTime;
  }

  public void setOrderTime(Date orderTime) {
    this.orderTime = orderTime;
  }


  public String getOrderNeed() {
    return orderNeed;
  }

  public void setOrderNeed(String orderNeed) {
    this.orderNeed = orderNeed;
  }


  public Date getTauchingTime() {
    return tauchingTime;
  }

  public void setTauchingTime(Date tauchingTime) {
    this.tauchingTime = tauchingTime;
  }


  public String getImg() {
    return img;
  }

  public void setImg(String img) {
    this.img = img;
  }


  public double getSalary() {
    return salary;
  }

  public void setSalary(double salary) {
    this.salary = salary;
  }


  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }


  public Integer getUid() {
    return uid;
  }

  public void setUid(Integer uid) {
    this.uid = uid;
  }

}
